package com.tsingteng.cosfun.ui.cosfun.imodel;


import com.tsingteng.cosfun.bean.BaseDataBean;
import com.tsingteng.cosfun.bean.ParagraphBean;
import com.tsingteng.cosfun.bean.PersonBean;
import com.tsingteng.cosfun.bean.VideoSignBean;
import com.tsingteng.cosfun.bean.WorkBean;
import com.tsingteng.cosfun.callback.RxObserver;

import retrofit2.Callback;

public interface IPersonEditModel {


    /**
     * image  头像
     * nickName  昵称
     * birthday  生日,格式 yyyy-MM-dd
     * sex  性别
     * areaid  地区
     * signature  个性签名
     */
    void editUserInfo(String image, String nickName, String birthday, int sex, String areaid, String signature, Callback<BaseDataBean<PersonBean>> callback);

    void editUserInfo(String name, String value, Callback<BaseDataBean> callback);

    void getSignaTure(String type, Callback<BaseDataBean<VideoSignBean>> callback);

    /**
     * @param profileId
     */
    void getPersonInfo(long profileId, Callback<BaseDataBean<PersonBean>> callback);
}
